/*
 * aodv_status.h
 *
 *  Created on: Jan 23, 2014
 *      Author: angelo
 */

#ifndef AODV_STATUS_H_
#define AODV_STATUS_H_

#ifndef NS_NO_GLOBALS
#include "defs_aodv.h"
#include "routing_table.h"

#include "applications/stemNetStimulus/TypeDefinitions.h"

#define STATUS_INTERVAL_SIGMA 1000
#define MAX_INFO    100

#endif              /* NS_NO_GLOBALS */

#ifndef NS_NO_DECLARATIONS

virtual void status_start();
virtual void status_stop();
virtual void status_send(void *arg);
virtual void status_process(RSTATUS_MSG * status, int rstatuslen, unsigned int ifindex);

virtual RSTATUS_MSG *rstatus_create( struct in_addr dest_addr, u_int32_t dest_seqno, struct in_addr orig_addr, ManetAddress my_addr);

#endif              /* NS_NO_DECLARATIONS */

#endif /* AODV_STATUS_H_ */
